<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<html>
<head>
<title><bean:message key="courseSelection.title"/></title>
<html:base/>
<link type="text/css" rel="stylesheet" href="../../stylesheets/main.css"/>
</head>
<body>
<div id="top">
<p>
<bean:message key="application.title"/>
</p>
</div>

<div id="left">

<table>
<tr><td><html:link action="/Welcome"><bean:message key="application.mainmenu.home"/></html:link></td></tr>

</table>

</div>

<div id="middle">

<logic:present name="resources">
	<table>
	<thead>
	<th><bean:message key="multimedia.selection.teacher"/></th>
	<th><bean:message key="multimedia.selection.course"/></th>
	</thead>
	
	<logic:iterate name="resources" id="resource">
		<tr>
		<td>
		<bean:write name="resource" property="creatorFN" />
		</td>
		<td>
		<html:link action="/contentDeletePage1?page=1"
					paramId="course"
					paramName="resource"
					paramProperty="course">
					<bean:write name="resource" property="course" /></html:link>
		</td>
		</tr>
	</logic:iterate>
	</table>
</logic:present>

</div>

<div id="right"></div>
<div id="bottom">

<table align="center">
<tr><td align="center"><bean:message key="application.lastupdate"/></td></tr>
<tr><td><bean:message key="application.power.logo"/></td></tr>
</table>

</div>



</body>
</html>